package com.lanyuan.a.service;

import java.util.List;

import com.lanyuan.a.atest.UserFormMap;
import com.lanyuan.a.bean.User;

public interface UserService {

	public void saveUser(User user);
	
	public void updateUser(User user);
	
	public User findUserById(int id);
	
	public List<User> find(Integer page, Integer rows);
	
	public void deleteUser(User user);
	
	public void deleteUserById(String id);
	
	public void deleteUserByIds(String[] ids);
	
	public List<User> findAllList();
	
	public User findUserByNameAndPassword(User user);
	
	public long findUserByName(String username);
	
	public List<User> queryByPage(UserFormMap formMap);
	
	public List<User> findByRoot(int root);
}
